package com.xhu.service.impl;

import com.xhu.mapper.UserMapper;
import com.xhu.service.IUserService;
import com.xhu.vo.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by yuan on 2019/3/14.
 */
@Service("userService")
public class UserServiceImpl implements IUserService{
    @Resource
    private UserMapper userMapper;

    @Override
    public User selectByLogin(User user) {

        return userMapper.selectByLogin(user);
    }
}
